<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/12/13
  Time: 15:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查询</title>
</head>
<body>
    <table border="1">
        <tr>
            <td>主播姓名</td>
            <td>直播平台</td>
            <td>带货商品</td>
            <td>直播时间</td>
            <td>商品价格</td>
            <td>直播状态</td>
            <td>操作</td>
        </tr>
        <c:forEach items="${list}" var="item">
            <tr>
                <td>${item.streamer}</td>
                <td>${item.livePlatform}</td>
                <td>${item.product}</td>
                <td>${item.liveTime}</td>
                <td>${item.price}</td>
                <td>${item.status}</td>
                <td>
                    <a href="detail?id=${item.id}"><input type="button" value="详情"></a>
                </td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
<style>
    table{
        text-align: center;
    }
</style>
